import axios from "../aixos";

// 用户登录
export const userLogin = (params: any) => {
    return axios.post('/login', params)
}

// 获取用户信息
export const getUserInfo = () => {
    return axios.get('/getUserInfo')
}

// 无感登录接口
export const refreshToken = (params: any) => {
    return axios.get('/refresh', { params })
}